﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Yipusoft.Evaluate.Model;


namespace Yipusoft.Evaluate.BLL{

   public class Base
    {
       public static bool Exsits(int BaseID)
        {
            Yipusoft.Evaluate.DAL.Base dal = new Yipusoft.Evaluate.DAL.Base();
            return dal.Exsits(BaseID);
        }
       public static int Insert(BaseInfo Base)
        {
            Yipusoft.Evaluate.DAL.Base dal = new Yipusoft.Evaluate.DAL.Base();
            return dal.Insert(Base);
        }
       public static bool Update(BaseInfo Base)
        {
            Yipusoft.Evaluate.DAL.Base dal = new Yipusoft.Evaluate.DAL.Base();
            return dal.Update(Base);
        }
       public static bool Delete(int BaseID)
        {
            Yipusoft.Evaluate.DAL.Base dal = new Yipusoft.Evaluate.DAL.Base();
            return dal.Delete(BaseID);
        }
       public static BaseInfo GetBase(int BaseID)
        {
            Yipusoft.Evaluate.DAL.Base dal = new Yipusoft.Evaluate.DAL.Base();
            return dal.GetBase(BaseID);
        }
       public static List<BaseInfo> GetList(string StrWhere)
        {
            Yipusoft.Evaluate.DAL.Base dal = new Yipusoft.Evaluate.DAL.Base();
            return dal.GetList(StrWhere);
        }
    }
}
